page {
  /* prettier-ignore */
  --height: 44PX; /* 4*2+32 */
  /* prettier-ignore */
  --right: 97PX; /* 10+87 */
  /* prettier-ignore */
  --navBarExtendHeight: 4PX;
  /* prettier-ignore */
  --navBarHeight: 68PX;
  box-sizing: border-box;
}

.nav-bar {
  .ios {
    /* prettier-ignore */
    --height: 44Px; /* 4*2+32 */
    /* prettier-ignore */
    --right: 97Px; /* 10+87 */
    /* prettier-ignore */
    --navBarExtendHeight: 4Px;
    box-sizing: border-box;
  }
  .android {
    /* prettier-ignore */
    --height: 48Px; /* 8*2+32 */
    /* prettier-ignore */
    --right: 96Px; /* 10+87 */
    /* prettier-ignore */
    --navBarExtendHeight: 4Px;
    box-sizing: border-box;
  }

  .devtools {
    /* prettier-ignore */
    --height: 42Px; /* 5*2+32 */
    /* prettier-ignore */
    --right: 88Px; /* 10+87 */
    /* prettier-ignore */
    --navBarExtendHeight: 4Px;
    box-sizing: border-box;
  }

  &__inner {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5001;
    /* prettier-ignore */
    height:  var(--navBarHeight);
    display: flex;
    align-items: center;
    padding-right: var(--right);
    width: 100%;
    /* prettier-ignore */
    padding-top: 20Px;
    /* prettier-ignore */
    padding-bottom:4Px;

    .placeholder {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
    }
  }

  &__inner &__left {
    position: relative;
    width: var(--right);
    /* prettier-ignore */
    height: 32Px;
    /*  padding-left: 10Px; */
    /* prettier-ignore */
    margin-left:10Px;
    display: flex;
    align-items: center;
  }

  &__buttons {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    /* prettier-ignore */
    border-radius: 16Px;
    border: 1px solid rgba(204, 204, 204, 0.6);
    position: relative;

    &::after {
      position: absolute;
      content: '';
      width: 1px;
      /* prettier-ignore */
      height: 18.4Px;
      background: rgba(204, 204, 204, 0.6);
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
  }

  &__buttons.android {
    border: 1px solid rgba(234, 234, 234, 0.6);

    &::after {
      background: rgba(234, 234, 234, 0.6);
    }
  }

  &__button {
    width: 50%;
    height: 100%;
    display: flex;
    /* prettier-ignore */
    font-size: 12Px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 1em 2em;
  }

  &__inner &__left &__btn_goback:active,
  &__inner &__left &__btn_gohome:active {
    opacity: 0.5;
  }

  &__inner &__center {
    /* prettier-ignore */
    font-size: 30px;
    /* prettier-ignore */
    line-height: 32px;
    text-align: center;
    position: relative;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    /* prettier-ignore */
    padding-left: 10Px;
    flex-shrink: 0;
    text {
      margin-top: -2px;
    }
  }

  &__inner &__loading {
    font-size: 0;
  }

  &__inner &__loading .lxy-loading {
    margin-left: 0;
  }
  &__inner &__right {
    /* prettier-ignore */
    margin-right: 10Px;
  }
  &__placeholder {
    height: var(--navBarHeight);
    background: #f8f8f8;
    position: relative;
    z-index: 50;
    visibility: hidden;
  }
  &-search {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* prettier-ignore */
    height: 32Px;
    /* prettier-ignore */
    border-radius: 16Px;
    position: relative;
    background: #f6f6f6;
  }

  &-search__input {
    height: 100%;
    display: flex;
    align-items: center;
    color: #999;
    /* prettier-ignore */
    font-size: 15Px;
    /* prettier-ignore */
    line-height: 15Px;
  }
  &__inner &__left &__btn_goback {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E  %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/svg%3E");
  }
  &__inner &__left &__btn_goback.white {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E  %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z' fill='%23ffffff'/%3E%3C/svg%3E");
  }
  &__inner &__left &__btn_gohome {
    // background-image: url("data:image/svg+xml,%3Csvg t='1565752242401' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='4326' width='48' height='48'%3E%3Cpath d='M931.148 451.25L591.505 97.654c-21.106-21.953-49.313-34.034-79.551-34.034-30.235 0-58.448 12.081-79.554 34.034L92.76 451.25c-35.049 36.498-30.536 68.044-24.742 81.222 4.13 9.35 18.07 35.05 58.231 35.05h49.78v272.016c0 61.756 44.342 119.906 107.357 119.906h144.587v-287.87c0-30.866-4.675-48.062 26.848-48.062h114.268c31.52 0 26.845 17.196 26.845 48.061v287.872h144.588c63.013 0 107.358-58.15 107.358-119.906V567.523h49.782c40.16 0 54.1-25.7 58.229-35.05 5.793-13.18 10.306-44.726-24.743-81.224z m-33.486 60.28h-105.77v328.007c0 30.865-19.877 63.917-51.37 63.917h-88.6V671.572c0-61.761-19.79-104.05-82.832-104.05H454.821c-63.045 0-82.836 42.289-82.836 104.05v231.883h-88.599c-31.495 0-51.37-33.052-51.37-63.917V511.529H126.25c-0.984 0-1.888-3.852-2.708-3.907 1.94-3.388 5.276-11.975 10.825-17.743l339.671-353.35c10.142-10.578 24.467-17.057 38.353-16.924 13.888-0.133 27.342 6.346 37.483 16.923L889.54 489.88c5.549 5.768 8.885 14.355 10.825 17.743-0.818 0.055-1.72 3.907-2.704 3.907z' fill='%23000000' p-id='4327'%3E%3C/path%3E%3C/svg%3E");
    background-image: url('');
    /* prettier-ignore */
    background-size: 22Px 22Px;
  }
  &__inner &__left &__btn_gohome.white {
    background-image: url("data:image/svg+xml,%3Csvg t='1565752242401' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='4326' width='48' height='48'%3E%3Cpath d='M931.148 451.25L591.505 97.654c-21.106-21.953-49.313-34.034-79.551-34.034-30.235 0-58.448 12.081-79.554 34.034L92.76 451.25c-35.049 36.498-30.536 68.044-24.742 81.222 4.13 9.35 18.07 35.05 58.231 35.05h49.78v272.016c0 61.756 44.342 119.906 107.357 119.906h144.587v-287.87c0-30.866-4.675-48.062 26.848-48.062h114.268c31.52 0 26.845 17.196 26.845 48.061v287.872h144.588c63.013 0 107.358-58.15 107.358-119.906V567.523h49.782c40.16 0 54.1-25.7 58.229-35.05 5.793-13.18 10.306-44.726-24.743-81.224z m-33.486 60.28h-105.77v328.007c0 30.865-19.877 63.917-51.37 63.917h-88.6V671.572c0-61.761-19.79-104.05-82.832-104.05H454.821c-63.045 0-82.836 42.289-82.836 104.05v231.883h-88.599c-31.495 0-51.37-33.052-51.37-63.917V511.529H126.25c-0.984 0-1.888-3.852-2.708-3.907 1.94-3.388 5.276-11.975 10.825-17.743l339.671-353.35c10.142-10.578 24.467-17.057 38.353-16.924 13.888-0.133 27.342 6.346 37.483 16.923L889.54 489.88c5.549 5.768 8.885 14.355 10.825 17.743-0.818 0.055-1.72 3.907-2.704 3.907z' fill='%23ffffff' p-id='4327'%3E%3C/path%3E%3C/svg%3E");
    /* prettier-ignore */
    background-size: 22Px 22Px;
  }
  &-search__icon {
    /* prettier-ignore */
    width: 22Px;
    /* prettier-ignore */
    height: 22Px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg t='1565691512239' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='1240' width='48' height='48'%3E%3Cpath d='M819.2 798.254545L674.909091 653.963636c46.545455-48.872727 74.472727-114.036364 74.472727-186.181818 0-151.272727-123.345455-274.618182-274.618182-274.618182-151.272727 0-274.618182 123.345455-274.618181 274.618182 0 151.272727 123.345455 274.618182 274.618181 274.618182 65.163636 0 128-23.272727 174.545455-62.836364l144.290909 144.290909c2.327273 2.327273 6.981818 4.654545 11.636364 4.654546s9.309091-2.327273 11.636363-4.654546c6.981818-6.981818 6.981818-18.618182 2.327273-25.6zM235.054545 467.781818c0-132.654545 107.054545-239.709091 239.709091-239.709091 132.654545 0 239.709091 107.054545 239.709091 239.709091 0 132.654545-107.054545 239.709091-239.709091 239.709091-132.654545 0-239.709091-107.054545-239.709091-239.709091z' fill='%23999999' p-id='1241'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
  }
}
